package com.ip.user.models.dto;

import java.io.Serializable;

/**
 * 修改密码DTO
 */
public class ChangePasswordDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    
    private Integer userId;
    private String oldPassword;
    private String newPassword;
    
    public ChangePasswordDTO() {}
    
    public ChangePasswordDTO(Integer userId, String oldPassword, String newPassword) {
        this.userId = userId;
        this.oldPassword = oldPassword;
        this.newPassword = newPassword;
    }
    
    // Getters and Setters
    public Integer getUserId() {
        return userId;
    }
    
    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    
    public String getOldPassword() {
        return oldPassword;
    }
    
    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }
    
    public String getNewPassword() {
        return newPassword;
    }
    
    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}